package com.binyouwei.designpatterns.creation_type.prototype;

/**
 * @author 宾有为
 * @date 2024/6/24 19:56
 * @link https://blog.csdn.net/baidu_41616022?type=blog
 * @describe：
 **/
public class PrototypeRectangle extends PrototypeShape{
    public PrototypeRectangle() {
        type = "Rectangle";
    }

    @Override
    void draw() {
        System.out.println(getClass().getSimpleName()+" - draw");
    }
}
